package org.example.alicloud.service;

import org.example.alicloud.model.CommonResult;
import org.springframework.stereotype.Component;

/**
 * 实现PaymentService接口表示为该接口提供兜底方法
 */
public class PaymentFallBackService implements PaymentService{
    @Override
    public CommonResult paymentSQL(Long id) {
        return new CommonResult(444,"自定义fallback方法，服务降级返回");
    }
}
